<template>
  <button @click="isshowDemo = !isshowDemo">切换隐藏/显示</button>
  <Demo v-if="isshowDemo"/>
</template>

<script>
import Demo from './components/Dome.vue'
import {ref} from 'vue'
export default {
  name: 'App',
  components:{
    Demo,
  },
  setup(){
    let isshowDemo = ref(true)
    return{
      isshowDemo
    }
  }
}
</script>

<style></style>
